#if !NETCOREAPP
using GameFramework.Http;
using GameFramework.Reference;
#endif

namespace Server.Proto
{
    public class WebUpdateServerInfoReq : HttpRequest
    {
        public const string RouteKey = "update_server";

        public override string Route => RouteKey;
        
        public ServerInfo ServerInfo { get; set; }

        public override void OnRecycle()
        {
            ServerInfo?.Recycle();
            ServerInfo = null;
        }
    }
}